package com.lehecai.ucenter.dao;

/**
 * @author chirowong
 *
 */
public class QueryConstant {
	public static final String DEFAULT_ENTITY_ALIAS = "e";
	
	public static final String QUERY_OP_EQUAL = "=";
	public static final String QUERY_OP_LESS = "<";
	public static final String QUERY_OP_LESS_AND_EQUAL = "<=";
	public static final String QUERY_OP_GREATER = ">";
	public static final String QUERY_OP_GREATER_AND_EQUAL = ">=";
	public static final String QUERY_OP_LIKE = "like";
	public static final String QUERY_OP_IN = "in";
	
	public static final String QUERY_OP_BETWEEN_START = "_start";
	public static final String QUERY_OP_BETWEEN_END = "_end";
	
	public static final String QUERY_ORDER_FIELD_NAME = "field";
	public static final String QUERY_ORDER_ORDER_NAME = "order";
	
	public static final String QUERY_ORDER_ASC = "ASC";
	public static final String QUERY_ORDER_DESC = "DESC";
	
	public static final String NULL = "null";
	
	public static final String NULL_DATE = "0000-00-00 00:00:00";
}
